package com.cicoding.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 新读写器实体配置类
 *
 * @author songfeichao
 * @date 2023/5/26
 */
@Component
@Data
@ConfigurationProperties(prefix = "uf3s-reader")
public class Uf3sProperties {

    private List<Uh3sDevice> config;

    @Data
    public static class Uh3sDevice {
        private String IP;
        private String antArray;
        private Integer portNum;
    }

    private Integer power;
}
